package com.emex.app.shared.data;

import java.util.Date;

public class OrderPayment {
    private Integer id;

    private String name;

    private Date date;

    private Double summa;

    private Integer payMethod;

    private String comment;

    private Integer orderId;

    private Integer managerId;

    private Integer clientId;

    public OrderPayment(Integer id, String name, Date date, Double summa, Integer payMethod, String comment, Integer orderId, Integer managerId, Integer clientId) {
        this.id = id;
        this.name = name;
        this.date = date;
        this.summa = summa;
        this.payMethod = payMethod;
        this.comment = comment;
        this.orderId = orderId;
        this.managerId = managerId;
        this.clientId = clientId;
    }

    public OrderPayment() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public Double getSumma() {
        return summa;
    }

    public void setSumma(Double summa) {
        this.summa = summa;
    }

    public Integer getPayMethod() {
        return payMethod;
    }

    public void setPayMethod(Integer payMethod) {
        this.payMethod = payMethod;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment == null ? null : comment.trim();
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public Integer getManagerId() {
        return managerId;
    }

    public void setManagerId(Integer managerId) {
        this.managerId = managerId;
    }

    public Integer getClientId() {
        return clientId;
    }

    public void setClientId(Integer clientId) {
        this.clientId = clientId;
    }
}